package com.star.sync.elasticsearch.dto.torderinfo;

import com.star.sync.elasticsearch.annotation.EsDataMapping;
import com.star.sync.elasticsearch.execute.torderinfo.TOrderInfoExecute;
import lombok.Data;

import java.util.Date;

/**
 * t_order_state
 * @author 
 */
@Data
@EsDataMapping(indexName = "t_order_state",tableName = "t_order_state",type = "child")
public class TOrderState extends TOrderInfoExecute<TOrderState> {
    /**
     * id
     */
    private Integer id;

    /**
     * 表业务ID
     */
    private String code;

    /**
     * 运单主表业务ID
     */
    private String orderCode;

    /**
     * 状态操作人ID
     */
    private Integer operatorId;

    /**
     * 操作方式
     */
    private String operateMethod;

    /**
     * 操作时间
     */
    private Date operateTime;

    /**
     * 操作IP
     */
    private String operatorIp;

    /**
     * 操作地理位置
     */
    private String operateGeographyPosition;

    /**
     * 附件信息
     */
    private String attachment;

    /**
     * 状态节点值
     */
    private String stateNodeValue;

    /**
     * 状态超期时间
     */
    private Date stateExpireTime;

    /**
     * 是否超期
     */
    private Boolean ifExpire;

    /**
     * 备注
     */
    private String remark;

    /**
     * 扩展字段1
     */
    private String param1;

    /**
     * 扩展字段2
     */
    private String param2;

    /**
     * 扩展字段3
     */
    private String param3;

    /**
     * 扩展字段4
     */
    private String param4;

    /**
     * 创建人
     */
    private String createUser;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新人
     */
    private String updateUser;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除 : 1 true 已删除   ||||   0 false 未删除
     */
    private Boolean enable;



    @Override
    public TOrderState update(TOrderState tOrderState) {
        return null;
    }

    @Override
    public TOrderState delete(TOrderState tOrderState) {
        return null;
    }
}